package com.tmpt.dto;

import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;

import javax.persistence.Column;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

@Dto("com.tmpt.beans.A2User")
public class A2UserDto  implements Serializable{
	private static final long serialVersionUID = 1L;

	@DtoField
	private long id;
	@DtoField
	private String name;
	@DtoField
	private int sex;
	@DtoField
	private String loginName;
	@DtoField
	private String password;
	@DtoField
	private String idCardno;
	@DtoField
	private String telephone;
	@DtoField
	private String phone;
	@DtoField
	private String email;
	@DtoField
	private Integer owUserType;

	@DtoField
	private String appLoginname;
	@DtoField
	private String appPassword;
	@DtoField
	private String jobNumber;
	@DtoField
	private String clientID;

	@DtoField
	private int deleteFlag ;
	@DtoField(readOnly=true)
	private Timestamp createDate ;
	@DtoField
	private Timestamp modifyDate ;
	@DtoField
	private String createMan ;
	@DtoField
	private String modifyMan ;

	@DtoField
	private int loginTimes;
	@DtoField
	private Timestamp loginTimeLast;

	private long companyId;
	private String a2postName;

	private Set<String> menu2AuthList = new HashSet<String>();

	public String getClientID() {
		return clientID;
	}

	public void setClientID(String clientID) {
		this.clientID = clientID;
	}

	public String getA2postName() {
		return a2postName;
	}

	public void setA2postName(String a2postName) {
		this.a2postName = a2postName;
	}

	public long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(long companyId) {
		this.companyId = companyId;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAppLoginname() {
		return appLoginname;
	}

	public void setAppLoginname(String appLoginname) {
		this.appLoginname = appLoginname;
	}

	public String getAppPassword() {
		return appPassword;
	}

	public void setAppPassword(String appPassword) {
		this.appPassword = appPassword;
	}

	public String getJobNumber() {
		return jobNumber;
	}

	public Integer getOwUserType() {
		return owUserType;
	}

	public void setOwUserType(Integer owUserType) {
		this.owUserType = owUserType;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdCardno() {
		return idCardno;
	}

	public void setIdCardno(String idCardno) {
		this.idCardno = idCardno;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getCreateMan() {
		return createMan;
	}

	public void setCreateMan(String createMan) {
		this.createMan = createMan;
	}

	public String getModifyMan() {
		return modifyMan;
	}

	public void setModifyMan(String modifyMan) {
		this.modifyMan = modifyMan;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(int loginTimes) {
		this.loginTimes = loginTimes;
	}

	public Timestamp getLoginTimeLast() {
		return loginTimeLast;
	}

	public void setLoginTimeLast(Timestamp loginTimeLast) {
		this.loginTimeLast = loginTimeLast;
	}

	public Set<String> getMenu2AuthList() {
		return menu2AuthList;
	}

	public void setMenu2AuthList(Set<String> menu2AuthList) {
		this.menu2AuthList = menu2AuthList;
	}

	
}
